//
//  ADSuyiCustomTestInitialize.m
//  ADSuyiCustomPlatform
//
//  Created by Erik on 2021/8/25.
//

#import "ADSuyiCustomTestInitialize.h"
#import <BUAdSDK/BUAdSDK.h>
#import <ADSuyiCustomPlatform/ADSuyiCustomAdapterInitialize.h>

@interface ADSuyiCustomTestInitialize ()

@end

@implementation ADSuyiCustomTestInitialize

+ (void)load {
    // 调用注册方法
    //以现有广告平台穿山甲作为demo示例
    [self registPlatformInitializeClass:self forSdkName:@"toutiao"];
}

+ (void)initAdSDKWithConfigInfo:(ADSuyiCustomAdapterRequestContext *)config {
    // 初始化三方SDK
    [BUAdSDKManager setAppID:config.appId];
    [BUAdSDKManager setIsPaidApp:NO];
}


#pragma mark - ADSuyiAdapterInitializeProtocol

// 需要实现改方法 返回三方平台当前版本号
+ (NSString *)platformSDKVersion {
    // 三方SDK版本号
    return @"1.0.0";
}



@end
